﻿using System;
using System.Drawing;

namespace dk.Helper.Base
{
    public interface IVillage : IFormattable
    {
        /// <summary>
        /// Gets the ID.
        /// </summary>
        int ID { get; }

        /// <summary>
        /// Gets the name.
        /// </summary>
        string Name { get; }

        /// <summary>
        /// Gets the coord.
        /// </summary>
        Point Coord { get; }

        /// <summary>
        /// Gets the player ID.
        /// </summary>
        int PlayerID { get; }

        /// <summary>
        /// Gets the points.
        /// </summary>
        int Points { get; }

        /// <summary>
        /// Gets the rank.
        /// </summary>
        int Rank { get; }

        /// <summary>
        /// Gets the distance to.
        /// </summary>
        /// <param name="village">The village.</param>
        /// <returns></returns>
        double GetDistanceTo(IVillage village);
    }
}